<template>
  <van-image :src="src" :fit="fit" :round="round" lazy-load></van-image>
</template>

<script>
// 二次封装 图片结合懒加载组件
export default {
  name: "CoverLazy",
  props: {
    src: String,
    fit: {
      type: String,
      default: 'cover'
    },
    round: {
      type: Boolean,
      default: false
    }
  }
};
</script>

<style lang="scss" scoped>
</style>
